package com.study.design.pattern.pattern.behavioral.strategy;

import java.math.BigDecimal;

/**
 * @Author: gongsl
 * @Date: 2025-03-23 14:35
 * @description: 未知的支付方法
 */
public class UnknownStrategy implements PaymentStrategy {
    @Override
    public void pay(BigDecimal amount) {
        System.out.println("使用[未知方式]支付了" + amount + "元。");
    }
}
